home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 3 / USEnet 3.066 < prev    next >
Encoding:
Text File  |  1988-04-08  |  23.9 KB  |  612 lines  |  [TEXT/ttxt]

  1. 29-Sep-87 08:56:57-PDT,25040;000000000001
  2. Date: Sat 12 Sep 87 11:07:03-EDT
  3. From: Jeff Shulman <SHULMAN@SDR>
  4. Subject: Usenet Mac Digest V3 #66
  5.  
  6. Usenet Mac Digest     Friday, September 11, 1987     Volume 3 : Issue 66 
  7.  
  8. Today's Topics:
  9.      New master pointer query.
  10.      Porting C programs to the Mac
  11.      Re: Which Is Better: DMCS or Studo Session? (Mac)
  12.      HyperCard annoyances
  13.      Broken mouse...can it be fixed?
  14.      MenuBar in HyperCard
  15.      Converting Mac format to GEM
  16.      LightSpeed Pascal Problem
  17.      Re: Hypercard lossage
  18.      Re: Which Is Better: DMCS or Studo Session? (Mac)
  19.      Re: Broken mouse...can it be fixed?
  20.      Ukrainian version of the Cyrillic Alphabet
  21.      File I/O in HyperTalk
  22.      Re: Flames about Multifinder
  23.  
  24. ---------------------------------------------------------------------- 
  25.  
  26. From: wmcb@ecsvax.UUCP (William C. Bauldry)
  27. Subject: New master pointer query.
  28. Date: 4 Sep 87 13:53:24 GMT
  29. Organization: UNC Educational Computing Service
  30.  
  31.  Having little printed resources available now... Since addresses have
  32. jumped to 32 bits how is the master pointer handled (bad pun)? The old
  33. format stole the high order byte for flags, i.e. handle locked, etc.
  34. Could some kind soul enlighten me and raise my consciousness to the new
  35. type ? thanks in advance.
  36.  
  37. Bill
  38.  
  39.  
  40. ------------------------------
  41.  
  42. From: tomc@oakhill.UUCP (Tom Cunningham)
  43. Subject: Porting C programs to the Mac
  44. Date: 4 Sep 87 16:59:20 GMT
  45. Organization: Motorola Inc. Austin, Tx
  46.  
  47. I am new to this newsgroup and I wonder if anyone can give me some
  48. pointers. We have some software written in C that currently runs on
  49. Berkeley Unix (Sun and VAX), PC/MS-DOS, and VAX/VMS.  We are considering
  50. a port to the Macintosh II.  One application is about 16,000 lines of
  51. code, 15 modules (separately compilable files).  The other is
  52. approximately 30,000 lines of code, 25 modules.  These applications are
  53. written to use the "standard I/O" (stdio) library routines:  fopen,
  54. fclose, fread, fwrite, printf, scanf, etc. The larger application does
  55. some screen handling using BIOS on the PC, curses under Unix, and SMG
  56. under VMS.  Both make use of argc and argv.
  57.  
  58. We have a Mac II (or is that Mac ][?) with Lightspeed C, which provides
  59. a very interesting development environment.  From what I can gather,
  60. doing a straight port to this machine is not possible.  There is no
  61. support for argc/argv, and a symbolic representation for a directory
  62. path for placing input and output files doesn't appear to exist (perhaps
  63. the notion of path doesn't exist?).  I am sure there are other
  64. differences that I haven't run into yet.
  65.  
  66. My question is this: is there something, a product or whatever, that
  67. would allow one to do a (fairly) straightforward port?  I guess I'm
  68. thinking of a "shell" that you could wrap around the application to
  69. provide command line input, paths, and what have you.  It sounds like
  70. Manx might give you something like that with Aztec C, but it also sounds
  71. like it's only for the development environment; can you link it in to
  72. your user program? Before you cynics out there say "buy A/UX" (Apple
  73. Unix, right?), I'm just thinking that our customers might not want to
  74. buy a new operating system just to use our software.  They probably want
  75. to use their old Macintosh software too.
  76.  
  77. Don't get me wrong about the Mac; I like the interface, and if we have
  78. to delve into the Toolbox then so be it.  But I am trying to explore
  79. expeditious alternatives, and if we can do something to keep our
  80. software a little more portable that would be great.  Thanks for any
  81. light you can shed.
  82.  
  83.  
  84. Tom Cunningham seismo!ut-sally!oakhill!tomc sun!oakhill!tomc
  85. -- 
  86.  
  87. Tom Cunningham     "Good, fast, cheap -- select two."
  88. USPS:  Motorola Inc.  6501 William Cannon Dr. W.  Austin, TX 78735-8598
  89. UUCP:  {ihnp4,seismo,ctvax,gatech}!ut-sally!oakhill!tomc
  90.        sun!oakhill!tomc
  91. Phone: 512-440-2953
  92.  
  93.  
  94. ------------------------------
  95.  
  96. From: oster@dewey.soe.berkeley.edu (David Phillip Oster)
  97. Subject: Re: Which Is Better: DMCS or Studo Session? (Mac)
  98. Date: 4 Sep 87 22:08:53 GMT
  99. Organization: School of Education, UC-Berkeley
  100.  
  101. DMCS version 2.0, supporting the Sonata (postScript) font, MIDI, and
  102. cutting and pasting music to the clipboard (like into MacDraw) has been
  103. out for at least 4 months. Electronic Arts wazs very good about mailing
  104. people an upgrade offer. Many problems were fixed. Printing is
  105. drastically improved. The manual describes a user interface for creating
  106. your own DMCS sounds. 
  107.  
  108. To use DMCS with MIDI, you tell DMCS which serial port the optional MIDI
  109. adapter is on. You then decorate the sheet music with things like DMCS's
  110. change voice commands, that tell it which MIDI channel to send that
  111. staff on, and which sound to tell the synthesizer to use.  I believe it
  112. can generate 8 staves of MIDI data with 256 different numbered sounds
  113. (MIDI patch change commands). (By comparison, Studio Session does 6
  114. staves, and as many different sounds as will fit in memory (figure 30k
  115. per sound.) Both will let you use the same sound many times in a piece
  116. (of course.)
  117.  
  118. You can play on the keyboard and DMCS will auto-correct your tempo, to
  119. turn your playing into sheet music. (You'll need an optional MIDI
  120. adapter (DMCS 2.0 comes with a discount offer for one, inside the
  121. package.) However, you need to play in such a stilted style, that it
  122. isn't clear how useful this is. You can also read files from OpCode's
  123. MIDI sequencer, which should have much better auto-correction. (I
  124. haven't used it, I'd like a recommendation. Anybody out there use it and
  125. like it?) You can mix MIDI voices and Mac voices.
  126.  
  127. To use Sonata on a LaserWriter, you'll need to buy the postScript
  128. version of Sonata from Adobe. (DMCS 2.0 comes with a discount offer for
  129. one, inside the package.)
  130.  
  131. Studio Session is much easier to use and sounds tons better than DMCS
  132. (unless DMCS is driving a 6 channel sampler over MIDI :-)  DMCS beats
  133. Studio Session on printing though.  The file format of Studio Session
  134. has been published, and DMCS 2.0 can read and write MIDI data to disk in
  135. a standard format.  Has anyone written a DMCS <-> Studio Session
  136. converter? (If yes, please tell me about it. If no, let me know, and
  137. I'll do it.)
  138.  
  139. DMCS was written by a programmer who doesn't seem to like the Mac much.
  140. Although it looks like a Mac program, it subtly does not feel like one.
  141. For example, if I were writing it, clicking on # (sharp sign modifier)
  142. would turn off b (flat sign modifier), and clicking on # again would
  143. turn # off.  Instead, you have to click on <clear modfiers>.  You pick a
  144. short note value, and drag right, at the time you create the note, to
  145. lengthen its tempo. I usually find that even if I drag the mouse to the
  146. margin of the screen, I can't get the tempo I want. You probably can
  147. type "q" to change the currently selected note to a quarter note, "h"
  148. for half, etc. but I am not sure.  (It is a big, complicated program,
  149. and I always discover new things about it whenever I sit down with it.)
  150.  
  151. There is still a bogus measure after the last note in the piece drawn on
  152. the screen, but at least now it doesn't print.
  153.  
  154. I found Electronic Arts very sensitive to complaints like these. I wrote
  155. them a letter, and the DMCS (Mac) programmer called me to talk things
  156. over.
  157.  
  158. I really like being able to cut a few measures of music and paste them
  159. into a page layout program.
  160.  
  161. If I had written it, I'd have had a tighter association between the
  162. notes and the lyrics. As it stands now, there is none, and you have to
  163. type spaces to get the lyrics to lin up under the notes. If you move a
  164. note,  you must adjust the lyrics by hand.
  165.  
  166. The guitar tablature font is neat.
  167.  
  168. Conclusion: Studio Session is the better buy for those who never print.
  169. (particularly if you also buy the the MacNifty (now Impulse) audio
  170. digitizer: great sampled sound, like 30 different instruments in a
  171. single piece, (although only 6 running at once.) lousy printing though
  172. (at least in the version I've got.) Because the Mac version was done
  173. before that for any other machine, it feels "right" to a mac user. My
  174. wife has just completed a cassette, done in large part, in Studio
  175. Session.
  176.  
  177. DMCS is the better buy for printing sheet music, and controlling a few
  178. MIDI instruments.  To control many MIDI instruments, you'll need a
  179. program that is just a sequencer.  I also like patch librarians that use
  180. the big (by music standards) screen of the mac to give your synthesizer
  181. a decent user interface. Because DMCS is part of a family of Electronic
  182. Arts DMCS products, the user interface feels subtly off to a mac user.
  183. My wife has just completed collaborating on a song book done in DMCS.
  184.  
  185. It is a shame that you can't cut and paste between DMCS and Studio
  186. Session. If Studio Session could read/write MIDI sequencer data, then
  187. the two would work together. On the other hand, the file format of
  188. Studio Session has been published, while that of DMCS has not (correct
  189. me if I am wrong.) A simple tool, that may already exist, would let them
  190. read/write files that the other could use.
  191.  
  192. --- David Phillip Oster            --My Good News: "I'm a perfectionist."
  193. Arpa: oster@dewey.soe.berkeley.edu --My Bad News: "I don't charge by the hour."
  194. Uucp: {seismo,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu
  195.  
  196. ------------------------------
  197.  
  198. From: cca@newton.physics.purdue.edu (Charles C. Allen)
  199. Subject: HyperCard annoyances
  200. Date: 5 Sep 87 00:09:25 GMT
  201. Organization: Purdue Univ. Phys Dept, W.Lafayette, IN
  202.  
  203. HyperCard is a brilliant idea, but as someone already mentioned, the
  204. interface leaves alot to be desired.
  205.  
  206. Here are some "features" that really cause me to gnash my teeth:
  207.  
  208.     *    All cards are 512x342
  209.  
  210.     This is silly.  I can see requiring that all cards with the
  211.     same background be the same size, or maybe even all cards in
  212.     the same stack, but ALL cards?  Just go through the stacks
  213.     that come with HyperCard and you'll find several that would
  214.     benefit from a smaller card size.  A larger card size would be
  215.     useful also.  The ROM has this neat control called a scroll
  216.     bar that does wonders in these situations.
  217.  
  218.     *    No way to abort changes to stacks
  219.  
  220.     GROWF!  This is probably the worst thing about HyperCard.  It
  221.     is the ONLY program on the Mac I've run across that silently
  222.     saves all your changes.  Manually making a "backup" stack is
  223.     error-prone and unwieldy.
  224.  
  225.     *    One stack open at a time
  226.  
  227.     Here we are in the age of MultiFinder, multi-megabyte Macs,
  228.     and HyperCard won't allow more than one open stack.  Sigh.
  229.  
  230.     *    Home Card?
  231.  
  232.     Maybe it's just me, but I can't really figure out why the Home
  233.     Card is necessary.  It's sort of a Finder for stacks.  Yes, it
  234.     has search paths and the "user level" card in there also, but
  235.     basically Home Card exists for opening stacks.  Why not just
  236.     make an SFGetFile dialog that displays icons?  Say, that would
  237.     be a nice idea for any application....  The preferences and
  238.     search paths could be subsumed by menu items.  If more than
  239.     one stack could be open at a time, this wouldn't be as bad.
  240.  
  241. There are a few bugs that are rather annoying also:
  242.  
  243.     X    Open up a stack on a screen bigger than 512x342 (I have an
  244.     Apple RGB monitor on my Mac II).  Open a desk accessory, and
  245.     place it off to the side.  Now click on the card stack window
  246.     to re-activate it.  Now click on the card stack window to
  247.     re-activate it.  Now click... what is this?  It won't come to
  248.     the foreground!  Oddly, you CAN activate the stack window by
  249.     clicking on one of the companion (Tools, Patterns, Messages)
  250.     windows, but that's hardly intuitive.
  251.  
  252.     On a related note, notice that the card stack title bar always
  253.     looks "de-activated" when one of the companion windows are
  254.     out.  I don't know about you folks, but when a window looks
  255.     de-activated, I don't expect it to respond to clicks except by
  256.     becoming active.
  257.  
  258.     X    The "visual effect" command has no effect when more than one
  259.     bit plane is in use.
  260.  
  261. And here's an oddity about background buttons and fields that confuses
  262. me:
  263.  
  264.     ?    A background field has its position and whatnot stored
  265.     "globally".  The text of the field, however, is local to each
  266.     card with that background.  A background button has its
  267.     position and whatnot stored "globally".  The hilite state of the
  268.     button is also global.
  269.  
  270.     Both cases sort of make sense, but so do the cases where the
  271.     text of background fields is global, and the hilite state of a
  272.     background button is local.  It's rather confusing that fields
  273.     and buttons are different in this regard.  I would prefer
  274.     consistency one way or the other.  Even better, have this as
  275.     an option in the Button info and Field info dialogs.
  276.  
  277.     You can, of course, simulate the "other" behavior in either
  278.     case.
  279.  
  280. I'll hold off on my other comments 'til I've had a chance to read the
  281. rumored HyperCard Script Language Guide.  Back to simultaneously
  282. gnashing my teeth and having a grand time in HyperCard....
  283.  
  284. Charlie Allen        cca@newton.physics.purdue.edu
  285.  
  286.  
  287. ------------------------------
  288.  
  289. From: martyl@bucket.UUCP (Marty Lee)
  290. Subject: Broken mouse...can it be fixed?
  291. Date: 4 Sep 87 14:37:13 GMT
  292. Organization: Rick's Home-Grown UNIX; Portland, OR.
  293.  
  294.  
  295. The wire that goes to the mouse button has decided to go open. Now the
  296. button will not work unless I wiggle the strain relief. After taking the
  297. mouse apart, it can only be in the strain relief. (I have a Mac+, the
  298. mouse is NOT an ADB type.)
  299.  
  300. Any suggestions?  Apple wants $100 for a new one!  Any good second
  301. source mouses around?
  302.  
  303. Thanks in advance,
  304.  
  305. Marty Lee
  306. -- 
  307. tektronix!reed!omen!bucket!martyl  (Marty Lee)
  308.  
  309.  
  310. ------------------------------
  311.  
  312. From: kleef@cs.vu.nl (Patrick van Kleef)
  313. Subject: MenuBar in HyperCard
  314. Date: 4 Sep 87 21:21:26 GMT
  315. Organization: V.U. Informatica, Amsterdam, the Netherlands
  316.  
  317. Has any of you HyperCard programmers found a way to alter the HyperCard
  318. menubar to a custom menubar providing the users with programmerd
  319. options? If so, please disclose this feat. I'm stuck!
  320.  
  321.  
  322. ------------------------------
  323.  
  324. From: howellg@idec.stc.co.uk (Gareth Howell)
  325. Subject: Converting Mac format to GEM
  326. Date: 1 Sep 87 16:08:47 GMT
  327. Organization: STC Network Systems, Stevenage, Herts. UK
  328.  
  329.  
  330. Does anyone know of any utilities that will permit the conversion of MAC
  331. format documents, diagrams etc to GEM format for use on an IBM pc clone?
  332. Gareth
  333.  
  334. -- 
  335. Gareth Howell  <howellg@idec.stc.co.uk>  G6KVK @ IO91VX
  336. ICL Network Systems, Private Networks Business Centre   
  337. London Road, Stevenage, Herts, England, SG1 1YB    Tel:+44 (0)438 738294
  338. howellg%idec%ukc@mcvax.uucp, idec!howellg@seismo.CSS.GOV
  339.  
  340.  
  341. ------------------------------
  342.  
  343. From: klash@uvicctr.UUCP (Karl B. Klashinsky)
  344. Subject: LightSpeed Pascal Problem
  345. Date: 4 Sep 87 14:05:57 GMT
  346. Organization: University of Victoria, Victoria B.C. Canada
  347.  
  348.  
  349. I'm working on porting a Turbo Pascal Unit to LightSpeed Pascal, and
  350. I've hit a catch.  In the Turbo Unit, the high bit of an integer is set
  351. with
  352.  
  353.     foo := $8000 ;    {set high bit -- value is -32768}
  354.  
  355. But, LightSpeed won't accept that -- it complains that the "constant
  356. (whose value is -32768) is out of range".
  357.  
  358. I thought that the range of ints was supposed to be -32768 to +32767.
  359. I've tried the obvious "hacks", with no luck.  For instance:
  360.  
  361.     i := -32767 ;
  362.     i := i-1 ;    {nope -- int overflow} or
  363.     i := -16384 ;
  364.     i := 2 * i ;    {ditto}
  365.  
  366. I don't know why (yet) but the Unit does not work properly if "foo" does
  367. not have the high bit set.
  368.  
  369. I'm using LSP 1.0.  Can anyone please help me?  Will a more recent
  370. version of LSP help? 
  371.  
  372. Karl
  373.  
  374. -- 
  375. Karl Klashinsky                         "Gee, I wish I could find a
  376. University of Victoria                  neat quote to put in my
  377. British Columbia, Canada                .signature"
  378.                                                              <me>
  379. e-mail:    {uw-beaver, ubc-vision}!uvicctr!klash
  380.  
  381.  
  382. ------------------------------
  383.  
  384. From: eirik@tekcrl.TEK.COM (Eirik Fuller)
  385. Subject: Re: Hypercard lossage
  386. Date: 5 Sep 87 10:02:10 GMT
  387. Organization: Tektronix, Inc., Beaverton, OR.
  388.  
  389. Sorry if this has been discussed already ... has anyone gotten hypercard
  390. to dial a modem at 2400 baud?  Does the latest version of UW do any
  391. dialing?
  392.  
  393. Please reply via email if possible; I will post a summary if
  394. appropriate.
  395.  
  396. (crl.tek.com can be reached from arpa via relay.cs.net)
  397.  
  398.  
  399. ------------------------------
  400.  
  401. From: chow@batcomputer.tn.cornell.edu (Christopher Chow)
  402. Subject: Re: Which Is Better: DMCS or Studo Session? (Mac)
  403. Date: 5 Sep 87 16:23:06 GMT
  404. Organization: Cornell Theory Center, Cornell University, Ithaca NY
  405.  
  406. Well, if you only think that DMCS 2.0 has been out for at least 4 months
  407. then Electronics Arts isn't very good a mailing out upgrad notices. 
  408. I've been using DMCS 2.0 for almost a year now!
  409.  
  410. While DMCS 2.0 is a vast improvement over DMCS 1.0, it does have a few
  411. problems:
  412.  
  413. 1.  The midi implementation seems to be a afterthought.  For example, in
  414.     midi input mode, try typing in a chord.  On my copy the chord just
  415.     gets longer and longer until it takes a duration value equal to the
  416.     length of the measure.  I.e., play a C maj chord and hold it for one
  417.     quarter note -- in a 4/4 measure you'll see the chord cycle from 
  418.     quarters, to whole notes.
  419.  
  420. 2.  It uses the PACE copy protection system.  This system uses encrypted
  421. code
  422.     segments, while drastically slows down program loading time,
  423.     especially if you're running of a hard disk.  Even worse, if you
  424.     have a debugger running (Macsbugs/TMOM), it'll reboot the computer
  425.     w/o unmounting all volumes, meaning that your hard disk has to go 
  426.     through a lengthly volume verification process before you can reboot.
  427.  
  428.     Luckily, there is a public domain DA, "FixJT" which can remove this
  429.     protection -- however Opcode systems has now implemented something
  430.     which prevents FixJT from working correctly, so FixJT might not work
  431.     w/ DMCS anymore.  BTW, on my system, the unprotected version of DMCS
  432.     2.0 loads in ~10 sec, the protected ~25 sec.
  433.  
  434. 3.  Printing dosen't seem to work under SuperLaserSpool.  Since I don't
  435. have
  436.     a LW or LW+, I didn't buy Adobe's Sonata laser font.  But, shouldn't
  437.     the Sonata screen font be substituted?  Well, this summer, when I 
  438.     has acess to a LW+, I tried to print from DMCS 2.0 thru
  439.     SuperLaserSpool and I got no output!
  440.  
  441. All things considered, I wouldn't recommend DMCS 2.0 for anything except
  442. for a notation package for Opcode's Sequencer 2.5 and possibly teaching
  443. childern a bit about music.  If I had to do it all again, I probably
  444. would also go with MasterTracks Pro instead of Opcode, thereby not using
  445. DMCS at all.
  446.  
  447. A word regarding DMCS support - I did try to call Electronic Arts
  448. several months ago about DMCS, but noone every even answered the phone!
  449.  
  450. Christopher Chow
  451. /---------------------------------------------------------------------------\
  452. | Internet:  chow@tcgould.tn.cornell.edu (128.84.248.35 or 128.84.253.35)   |
  453. | Usenet:    ...{uw-beaver|ihnp4|decvax|vax135}!cornell!batcomputer!chow    |
  454. | Bitnet:    chow@crnlthry.bitnet                                           |
  455. | Phone:     1-607-253-6699,  USPS: 7122 N. Campus 7, Ithaca, NY 14853      |
  456. | Delphi:    chow2            PAN:  chow                                    |
  457. \---------------------------------------------------------------------------/
  458.  
  459.  
  460. ------------------------------
  461.  
  462. From: preese@dewey.soe.berkeley.edu (Phil Reese)
  463. Subject: Re: Broken mouse...can it be fixed?
  464. Date: 5 Sep 87 17:16:30 GMT
  465. Organization: School of Education, UC-Berkeley
  466.  
  467. I've had very good luck fixing flaky mouses.  You need a bit of
  468. experience with a soldering iron and some electrical tape.  All of the
  469. mouses that I've fixed have had one or more broken wires in or near the
  470. strain relief coming out of the mouse shell.  The simple way is to
  471. disassemble the mouse and remove the wire from the mouse inards.  Now
  472. carefully but firmly twist on the strain relief to move it up the cable.
  473.  The strain releif is not permanent on the wire though it may seem that
  474. way on first attempt.  Some lubricating oil, sparingly applied may help.
  475.  Once the strain releif is further up the cable reconnect the mouse wire
  476. to the internals.  Now by moving the mouse on a running Mac try to
  477. determine where the break is in that first 4-6" of wire.  Pinpoint it
  478. and then dissassemble the wire again.  Cut off the wire just above the
  479. break, strip the insulation back and strip each wire.  On the piece cut
  480. off will be the connector for connecting to the socket in the mouse,
  481. carefully cut the wires near the socket and switch components.  Leave
  482. enough room to strip the wires and solder and tape the joints, about 2+"
  483. is ok.  Strip these wires and match colors with the long wire and solder
  484. the connections.  Carefully tape each connection and test out the fixed
  485. wire.  Did it work?  Reassemble and happy mousing!
  486.  
  487. Use this suggestion at your own risk!  Not responsible for 'beyond
  488. repair mouses'.
  489.  
  490. Phil Reese SESAME/School of Ed UC Berkeley preesse@violet.berkeley.edu
  491.  
  492.  
  493. ------------------------------
  494.  
  495. From: gig@ritcv.UUCP (Gordon Goodman)
  496. Subject: Ukrainian version of the Cyrillic Alphabet
  497. Date: 5 Sep 87 17:37:44 GMT
  498. Organization: Rochester Institute of Technology, Rochester, NY
  499.  
  500. I am looking for a Ukrainian version of the cyrillic alphabet for the
  501. Mac.   The font will be printed on an Imagewriter.   For those of you
  502. who are not  familliar with cyrillic, the Russian alphabet, what comes
  503. to mind first when people think of cyrillic, is not the same as the
  504. Ukrainian cyrillic  alphabet.  And that is the problem.  There are
  505. several Russian versions around but they cannot be used to write
  506. Ukranian.  
  507.  
  508. A lead on a source for a modestly priced font or one in the public
  509. domain would be much appreciated.  If possible, I would prefer to locate
  510. rather than create a Ukrainian version.
  511.  
  512. Nosdorolya,
  513.  
  514.  
  515. ------------------------------
  516.  
  517. From: winkler@apple.UUCP (Dan Winkler)
  518. Subject: File I/O in HyperTalk
  519. Date: 4 Sep 87 08:11:15 GMT
  520. Organization: Apple Computer, Inc., Cupertino, USA
  521.  
  522. Here is an example of file I/O in HyperTalk that imports and exports
  523. text.  The open file command does not use the documents search path --
  524. it simply passes the name you gave, which could include a path, to
  525. FSOpen.  If the file does not exist, HyperTalk automatically creates it
  526. and then opens it.
  527.  
  528. on mouseUp
  529.   -- export text
  530.   put the short name of this stack & " text" into fileName
  531.   ask "Export text to what file?" with fileName
  532.   if it is empty then exit mouseUp
  533.   put it into fileName
  534.   open file fileName
  535.   go to first card
  536.   repeat for the number of cards
  537.     repeat with i = 1 to the number of fields
  538.       write field i to file fileName
  539.       write tab to file fileName
  540.     end repeat
  541.     go to next card
  542.   end repeat
  543.   close file fileName 
  544. end mouseUp
  545.  
  546. on mouseUp
  547.   -- import text
  548.   ask "Import text from what file?"
  549.   if it is empty then exit mouseUp
  550.   put it into fileName
  551.   open file fileName
  552.   repeat
  553.     doMenu "New Card"
  554.     repeat with i = 1 to the number of fields
  555.       read from file fileName until tab
  556.       if it is empty then -- end of file
  557.         if i = 1 then doMenu "Delete Card"
  558.         close file fileName
  559.         exit mouseUp
  560.       end if
  561.       delete last char of it  -- kill tab
  562.       put it into field i
  563.     end repeat
  564.   end repeat 
  565. end mouseUp
  566.  
  567.  
  568. ------------------------------
  569.  
  570. From: lsr@apple.UUCP (Larry Rosenstein)
  571. Subject: Re: Flames about Multifinder
  572. Date: 4 Sep 87 18:40:13 GMT
  573. Organization: Advanced Technology Group, Apple Computer
  574.  
  575. Multifinder does not require 2Mb.  I am using it now on a 1Mb Mac Plus.
  576. 136K allocated to MacTerminal, 160K to Finder, 355K to the System, with
  577. 373K to run something else.
  578.  
  579. Multifinder should be equivalent (memory-wise) to running Switcher with
  580. the Finder in one partition.  One important advantage of Multifinder is
  581. that you can give the Finder only 160K and it can still get more memory
  582. (eg, for disk copies) from Multifinder as needed.
  583.  
  584. I suppose that you could use one of the other Finder-substitutes that
  585. might require less than 160K, and free up more memory that way.
  586.  
  587. >(I like Switcher A LOT.  As far as  I am concerned,  it is
  588. >the best piece  of software Apple ever produced,  and  I use it  quite
  589. >frequently.).  As I see it, there are only a few alternatives:
  590.  
  591. I never used Switcher at all because there was too much overhead in
  592. using it.  On the other hand, I am using Multifinder on all my machines
  593. (2 Mac Pluses, and 1 Levco Prodigy 4).
  594.  
  595.  
  596. -- 
  597. Larry Rosenstein
  598.  
  599. Object Specialist
  600. Apple Computer
  601.  
  602. AppleLink: Rosenstein1
  603. UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
  604. CSNET: lsr@Apple.com
  605.  
  606. ------------------------------
  607.  
  608. End of Usenet Mac Digest
  609. ************************
  610. -------
  611. -------
  612.